翻訳と辞書
Words near each other
・ Ordgar, Ealdorman of Devon
・ Ordgarius
・ Ordgarius magnificus
・ Ordiarp
・ Ordib
・ Ordibehesht
・ Ordicate
・ Ordinaire
・ Ordinaire EP
・ Ordinal
・ Ordinal analysis
・ Ordinal arithmetic
・ Ordinal association
・ Ordinal collapsing function
・ Ordinal data
Ordinal data type
・ Ordinal date
・ Ordinal definable set
・ Ordinal indicator
・ Ordinal linguistic personification
・ Ordinal logic
・ Ordinal notation
・ Ordinal number
・ Ordinal number (linguistics)
・ Ordinal numerical competence
・ Ordinal optimization
・ Ordinal regression
・ Ordinal utility
・ Ordinalia
・ Ordinamenta et consuetudo maris


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Ordinal data type : ウィキペディア英語版
Ordinal data type

In computer programming, an ordinal data type is a data type with the property that its values can be counted. That is, the values can be put in a one-to-one correspondence with the positive integers. For example, characters are ordinal because we can call 'A' the first character, 'B' the second, etc. The term is often used in programming for variables that can take one of a finite (often small) number of values. While the values are often implemented as integers (or similar types such as bytes) they are assigned literal names and the programming language (and the compiler for that language) can enforce that variables only be assigned those literals.
For instance in Pascal, one can define:

var
x: 1..10;
y: 'a'..'z';




抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Ordinal data type」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.